package com.example.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.Advertising;
import com.example.demo.entity.Advertising2;
import com.example.demo.repository.Advertising2Repository;

@Service
public class Advertising2Service extends BaseService<Advertising2,Integer>{
	@Autowired
	private Advertising2Repository adverDao;
	
	public List<Advertising2> findByAdver(Advertising adver) {
		return adverDao.findByAdver(adver);
	}

}
